package com.example.test.mapper;

import com.example.test.Bean.UserBean;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface UserMapper {

   UserBean gitInfo(String name, String password);
   List<UserBean> getAllUser();
   int insertUser(UserBean user);
   int deleteUser(String id);
   UserBean getUserById(String id);
   int updateUser(UserBean userbean);
   List<UserBean> selectUser4Page();

}
